
/***添加 Fastclick 移除移动端点击延迟***/
//const FastClick = require('fastclick')
//FastClick.attach(document.body)

import Vue from 'vue'
/***引入全局配置文件***/
import config from '@/config/index.js';
/***引入路由文件***/
import router from '@/router/router.js'
/***引入vuex文件***/
import store from '@/store/store.js'
/***引入入口页面***/
import AppContainer from '@/containers/AppContainer.vue'

/***引入UI-VANT组件***/
import '@/components/UIComponents.js'

/***全局配置配置***/
/***引入axios请求配置***/
import '@/utils/request/request.js'
/***引入API请求方法***/
import service from "@/services/topicService.js";
/***引入API配置文件***/
import storages from "@/utils/storage.js";
/***原型挂载实例***/
Vue.prototype.service = service;
Vue.prototype.storages = storages;

/***引入复制文本插件***/
import VueClipboard from 'vue-clipboard2' 
VueClipboard.config.autoSetContainer = true // add this line
Vue.use(VueClipboard)

/***引入公共样式文件***/
// 全局配置样式
import '@/asserts/styles/global.scss'
// 重写组件样式
import '@/asserts/styles/overwrite.scss'
// 全局媒体查询
// import '@/asserts/styles/media.scss'


/***创建根实例***/
const app = new Vue({
    data: {
        bus: new Vue(),
        config: config
    },
    router,
    store,
    render: h => h(AppContainer)
}).$mount('#app')
